$(function() {
	$(window).on("scroll",function() {
		var scrollTop = $(window).scrollTop();
		if(scrollTop > 300){
			$("header>.container>h1>a>img").css({opacity:0.2});
		}else{
			$("header>.container>h1>a>img").css({opacity:1});
		}
	});
});
